From: David Vrabel Date: Wed, 10 Jun 2015 10:06:02 +0000 (+0200) Subject: evtchn: profile event channel lock X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~3115 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=a3046cf809529f4fdd03850e084a94fa72cf78e9;p=xen.git evtchn: profile event channel lock The per-domain event channel lock may suffer from contention. Add it to the set of locks to be profiled when lock profiling is enabled. Signed-off-by: David Vrabel --- diff --git a/xen/common/event_channel.c b/xen/common/event_channel.c index fae242daff..bf9b2f8ecd 100644 --- a/xen/common/event_channel.c +++ b/xen/common/event_channel.c @@ -1251,7 +1251,7 @@ int evtchn_init(struct domain *d) if ( !d->evtchn ) return -ENOMEM; - spin_lock_init(&d->event_lock); + spin_lock_init_prof(d, event_lock); if ( get_free_port(d) != 0 ) { free_evtchn_bucket(d, d->evtchn);